home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4853 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.5 KB

  1. Path: news.lpr.carel.fi!usenet
  2. From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: MS's advice on  new 16-bit apps? and Win32s
  5. Date: Thu, 01 Feb 1996 12:31:00 +0200
  6. Organization: Carelcomp Forest
  7. Message-ID: <31109664.79C9@cmt.lpr.mail.carel.fi>
  8. References: <310FA864.63C4@fsg.com>
  9. NNTP-Posting-Host: renoir.cclahti.carel.fi
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b6a (WinNT; I)
  14.  
  15. kenk@fsg.com wrote:
  16. > does anyone know what Microsoft's philosophy or advice is on
  17. > developing new 16-bit applications?
  18.  
  19. MS's advice is: don't write 16-bit applications, do write 32-bit applications.
  20. > Basically my situation is this: we want to develop an application
  21. > using VC++ 4.0 and want have the option of running it using VC++ 1.52.
  22. > I know that Win32s is supposed to let me accomplish this (with some
  23. > limitations, although this is not a very complex application and
  24. > i don't think this will effect it).
  25. > MSVC++ 1.52 is a 16-bit system and as such cannot run Win32s programs (which are 32-bit 
  26. programs running on a 32-bit API subset on top of Win3x). MSVC4 is targeted to 32-bit 
  27. apps only; you cannot create 16-bit apps using it. Of course, if your source is portable 
  28. (doesn't use any far/near pointers [used only in Win16], uses <windowsx.h> cracker 
  29. macros etc.) between 16-bit and 32-bit worlds, you can build one version using MSVC1.52 
  30. (16-bit) and one usign MSVC4. Of course, you cannot use any of the new constructs of 
  31. MSVC4 (such as name spaces), because they're not supported by MSVC1x.
  32. > So,
  33. > is the above the preferred method and is it encouraged by
  34. > Microsoft to develop *all new* applications using 32-bit.
  35.  
  36. MS says that all new apps should be targeted to Win95/WinNT and be 32 bit.
  37. > And,
  38. > I would appreciate any feedback (caveats, advice) on using
  39. > VC++ 4.0 applications and running it under VC++ 1.52 using WIn32s.
  40. > As said above, that can't be done. You _can_ run them with Win32s on Win3x. However, I'd 
  41. found out that Win32s will run on some systems, and not run on some others and sometimes 
  42. there seem to be no apparent reason at all. (As a matter of fact, in one machine I tried 
  43. it, it didn't run, but in a similar machine next to it, everything went fine...) I guess 
  44. it depends on the phase of moon, the tide, amount of solar flares or something like 
  45. that... :(
  46.  
  47. I'd suggest abandoning the whole Win3x and moving to Win95/NT.
  48.  
  49. > thanks
  50.  
  51. You're welcome.
  52.  
  53. Later,
  54.  AriL
  55. -- 
  56. All my opinions are mine and mine alone.
  57.